package com.example.entity;

/**
 * 用户实体类（含管理员）
 */


public class User {
      private Integer id;
      private String userName;
      private String userPwd;
      private String realName;
      private Integer phone;
      private Integer sex;
      private String address;
      private Integer flag;

      public Integer getId() {
            return id;
      }

      public void setId(Integer id) {
            this.id = id;
      }

      public String getUserName() {
            return userName;
      }

      public void setUserName(String userName) {
            this.userName = userName;
      }

      public String getUserPwd() {
            return userPwd;
      }

      public void setUserPwd(String userPwd) {
            this.userPwd = userPwd;
      }

      public String getRealName() {
            return realName;
      }

      public void setRealName(String realName) {
            this.realName = realName;
      }

      public Integer getPhone() {
            return phone;
      }

      public void setPhone(Integer phone) {
            this.phone = phone;
      }

      public Integer getSex() {
            return sex;
      }

      public void setSex(Integer sex) {
            this.sex = sex;
      }

      public String getAddress() {
            return address;
      }

      public void setAddress(String address) {
            this.address = address;
      }

      public Integer getFlag() {
            return flag;
      }

      public void setFlag(Integer flag) {
            this.flag = flag;
      }

      public User(Integer id, String userName, String userPwd, String realName, Integer phone, Integer sex, String address, Integer flag) {
            this.id = id;
            this.userName = userName;
            this.userPwd = userPwd;
            this.realName = realName;
            this.phone = phone;
            this.sex = sex;
            this.address = address;
            this.flag = flag;
      }

      public User() {

      }
}
